home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / program / dprin101.zip / README.TXT < prev    next >
Text File  |  1992-05-17  |  3KB  |  76 lines

  1.  
  2.   PROGRAM UTILITY
  3. ===================
  4.  
  5.        DPrint is a little bit of source code programed with Turbo Pascal for
  6.        Windows working for Window 3.x . DPrint is a unit displaying a printer
  7.        selection box and has one interesting function. It is called
  8.  
  9.            function PrinterSetup (ParWnd : HWnd) : boolean;
  10.  
  11.        and will display a listbox with all available printers. 'ParWnd' is the
  12.        handle of the window that calles this function.
  13.  
  14.        - You can select then a printer by pressing "Print". The selected printer
  15.          will then be updated for Windows and set as the CURRENT printer.
  16.          The function will return TRUE and the dialog-box will be closed.
  17.  
  18.        - You can cancel the selection by pressing "Cancel". Nothing will be
  19.          changed, the dialog-box will be closed and the function will return
  20.          FALSE.
  21.  
  22.        - You can click "Setup" and the printer dialog-box will apear. The function
  23.          is not returning yet.
  24.  
  25.        - You can click "Control" and Window's CONTROL.EXE will be executed.
  26.  
  27.        You only have to compile this code to use this unit. Therefor the source-
  28.        code has to be copied in one of the UNIT-Directories and the resource-
  29.        file to one of the RESOURCE- or UNIT-Directories.
  30.  
  31.        Just include the unit and call the function PrinterSetup when needed.
  32.        A little sample program is included in this package.
  33.  
  34.  
  35.        It would be great if those who like this copy will e-mail their
  36.        public-domain-programs for Windows 3.0 (instead of paying a fee). I
  37.        have a lot but not enough.
  38.  
  39.        Those who like to included this code in their commercial products should
  40.        contact Phade Software to talk about a licence agreement !!!
  41.  
  42.        Have fun :-)
  43.  
  44.             Phade
  45.  
  46.  
  47.  HISTORY
  48. =========
  49.  
  50.        Version 1.01 - 16/6/92
  51.  
  52.        - Function strtoc wasn't defined. Fixed.
  53.        - DPrint crashed, when no printer was activ. Fixed.
  54.        - Realized, that DPrint is not testing if a printer is correctly
  55.          installed.
  56.  
  57.  
  58.   COPYRIGHT
  59. =============
  60.  
  61.        Copyright (c) 1992 by
  62.  
  63.        PHADE SOFTWARE
  64.        Inh. Frank Gadegast
  65.        Leibnizstrasse 30
  66.        1000 Berlin 12 GERMANY
  67.  
  68.        Access: phade@cs.tu-berlin.de
  69.  
  70.        Permission to use, copy,    modify,    and distribute this
  71.        software    and its    documentation for any purpose and without
  72.        fee is hereby granted, provided that this copyright notice
  73.        will appear in all copies and as    long as    you don't try to
  74.        make money off it, or pretend that you wrote it.
  75.  
  76.